Skip to main content
POST
/
functions
/
{name}
/
deploy
[beta] Deploy a Function.
curl --request POST \
  --url https://api.samsara.com/functions/{name}/deploy \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "name": "my-function"
  }
}

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required

The name of the Function to deploy.

Response

OK response.

data
object
required

Details of a deployed Function.